
import { Injectable, Injector } from '@angular/core';
import { NgRepository } from '@farris/devkit';
import { BefRepository, NgVariable } from '@farris/bef';
import { CwjsxxEntity } from './entities/cwjsxxentity';

import { CwjsxxProxy } from './cwjsxxproxy';

@Injectable()
@NgRepository({
    apiUrl: 'api/basicdata/financedata/v1.0/hlgl_frm',
    entityType: CwjsxxEntity
})
export class CwjsxxRepository extends BefRepository<CwjsxxEntity> {
    public name = 'CwjsxxRepository';

    public proxy: CwjsxxProxy;
    public paginationInfo = {
        CwjsxxEntity: {
            pageSize: 20,
        }
    };
    constructor(injector: Injector) {
        super(injector);
        this.proxy = injector.get(CwjsxxProxy, null);
    }
}